package com.aaa.common.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserRole implements Serializable {
    private Integer id;
    private String name;
    private Integer age;
    private String sex;
    private Integer phone;

    //引入角色表
    private List<Role> roles;
}
